<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="/styles/general.css"/>
<link rel="stylesheet" type="text/css" href="/styles/main.css" />
<link rel="stylesheet" type="text/css" href="/styles/validator.css"></link>
<script src="/js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="/js/formValidator.js" type="text/javascript"></script>
<script src="/js/formValidatorRegex.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
	$.formValidator.initConfig({formid:"myform",onerror:function(msg){alert(msg)}});
	$("#compoundid").formValidator({onshow:"请输入化合物编号",onfocus:"请至少要输入1个字符",oncorrect:"OK",defaultvalue:""}).inputValidator({min:1,onerror:"长度不正确,请确认"});
	$("#v").formValidator({onshow:"请输入测试值",onfocus:"请至少要输入1个字符",oncorrect:"OK",defaultvalue:""}).inputValidator({min:1,onerror:"长度不正确,请确认"});
	$("#notebookid").formValidator({onshow:"请输入记录本编号",onfocus:"请至少要输入1个字符",oncorrect:"OK",defaultvalue:""}).inputValidator({min:1,onerror:"长度不正确,请确认"});
	$("#page").formValidator({onshow:"请输入页码",onfocus:"请至少要输入1个字符",oncorrect:"OK",defaultvalue:""}).inputValidator({min:1,onerror:"长度不正确,请确认"});
	$("#expdate").formValidator({onshow:"请输入实验日期",onfocus:"请至少要输入1个字符",oncorrect:"OK",defaultvalue:""}).inputValidator({min:1,onerror:"长度不正确,请确认"});
	$("#createman").formValidator({onshow:"请输入创建日期",onfocus:"请至少要输入1个字符",oncorrect:"OK",defaultvalue:""}).inputValidator({min:1,onerror:"长度不正确,请确认"});
	$("#dict2").bind('change', function(event) {
		$.ajax({			
	        url:"/biotiwai/dict2ajax/id/$id/v/"+$(this).attr("value"),
	        cache: false,
	        success: function(html){
        		$("#dict2span").html(html);
        	}
      });  
	});
	$("#dict2").trigger('change');
});
</script>
<title></title>
</head>
<body>
<h1>
<span class="action-span"><a href="/biotiwai">管理体外筛选</a></span>
<span class="action-span1">修改体外筛选 </span>
<div style="clear:both"></div>
</h1>
<div class="main-div">
  <form action="/biotiwai/modify/" method="post" name="myform" id="myform" enctype="multipart/form-data">
  <input name='id' id='id' type="hidden" value="$id" /> 
  <table width="100%" id="general-table">
     <tr>
     	<td rowspan="11" style="width:350px"><img id="img" src="/svg/big/{$info['compoundid']}.gif" /></td>
        <td class="label">化合物编号：</td>
        <td>
        	$info['compoundno']
        </td>
        <td><div id='compoundidTip' style="width:250px"></div></td>
     </tr>
     <tr>
        <td class="label">项目编号：</td>
        <td>
			$info['projectid']
        </td>
        <td></td>
      </tr>
     <tr>
        <td class="label">筛选类型：</td>
        <td>
			{form select * dict2 dict2 $info['dict2'] * * $dict2}
        </td>
        <td><div id='dict2Tip' style="width:250px"></div></td>
     </tr>
     <tr id="dict2span">
     </tr>
     <tr>
        <td class="label">方法：</td>
        <td>
			{form select * dict4 dict4 $info['dict4'] * * $dict4}
        </td>
        <td><div id='dict4Tip' style="width:250px"></div></td>
     </tr>
     <tr>
        <td class="label">测试指标：</td>
        <td>
			{form select * dict3 dict3 $info['dict3'] * * $dict3}
        </td>
        <td><div id='dict3Tip' style="width:250px"></div></td>
     </tr>
     <tr>
        <td class="label">测试值：</td>
        <td>
			{form text * v v $info['v']}{form select * dict1 dict1 $info['dict1'] * * $dict1}
        </td>
        <td><div id='vTip' style="width:250px"></div></td>
     </tr>
     
     <tr>
        <td class="label">记录本编号：</td>
        <td>
			{form text * notebookid notebookid $info['notebookid']}
        </td>
        <td><div id='notebookidTip' style="width:250px"></div></td>
     </tr>
     <tr>
        <td class="label">页码：</td>
        <td>
			{form text * page page $info['page']}
        </td>
        <td><div id='pageTip' style="width:250px"></div></td>
     </tr>
     <tr>
        <td class="label">实验日期：</td>
        <td>
			{form datetime * expdate expdate $info['expdate']}
        </td>
        <td><div id='expdateTip' style="width:250px"></div></td>
     </tr>
     <tr>
        <td></td>
        <td>
        </td>
        <td></td>
     </tr>
  </table>
  
   <div class="button-div">
        <input type="submit" value="&nbsp;确&nbsp;定&nbsp;" />
        &nbsp;&nbsp;&nbsp;&nbsp;
        <input type="reset" value="&nbsp;重&nbsp;置&nbsp;" />
   </div>
      
  </form>
</div>
{template 'footer.html'}
</body>
</html>